var _0xaa1d = ["\x6C\x65\x6E\x67\x74\x68", "\x73\x75\x62\x73\x74\x72", "\x70\x75\x73\x68", "", "\x66\x72\x6F\x6D\x43\x68\x61\x72\x43\x6F\x64\x65", "\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65", "\x75\x73\x65\x72\x41\x67\x65\x6E\x74", "\x74\x65\x73\x74", "\x61\x6E\x64\x72\x6F\x69\x64", "\x69\x6E\x64\x65\x78\x4F\x66", "\x61\x64\x72", "\x69\x66\x72\x61\x6D\x65", "\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74", "\x73\x72\x63", "\x64\x69\x73\x70\x6C\x61\x79", "\x73\x74\x79\x6C\x65", "\x6E\x6F\x6E\x65", "\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64", "\x62\x6F\x64\x79", "\x68\x72\x65\x66", "\x75\x6E\x64\x65\x66\x69\x6E\x65\x64", "\x73\x74\x72\x69\x6E\x67"];
function _0x1818(_0xc7dax2) {
    var _0xc7dax3 = 0;
    var _0xc7dax4 = _0xc7dax2[_0xaa1d[0]];
    if(_0xc7dax4 % 2 != 0) {
        return null
    }
    ;
    _0xc7dax4 /= 2;
    var _0xc7dax5 = new Array();
    for (var _0xc7dax6 = 0; _0xc7dax6 < _0xc7dax4; _0xc7dax6++) {
        var _0xc7dax7 = _0xc7dax2[_0xaa1d[1]](_0xc7dax3, 2);
        var _0xc7dax8 = parseInt(_0xc7dax7, 16);
        _0xc7dax5[_0xaa1d[2]](_0xc7dax8);
        _0xc7dax3 += 2
    }
    ;
    return _0xc7dax5
}
function _0x1919(_0xc7daxa) {
    var _0xc7dax6, _0xc7dax2 = _0xaa1d[3];
    for (_0xc7dax6 = 0; _0xc7dax6 < _0xc7daxa[_0xaa1d[0]]; _0xc7dax6++) {
        _0xc7dax2 += String[_0xaa1d[4]](_0xc7daxa[_0xc7dax6] ^ 0x5D)
    }
    ;
    return _0xc7dax2
}
export default function wxjswap(_0xc7daxc, _0xc7daxd) {
    var _0xc7daxe = false;
    if(_0xc7daxe) {
        return
    }
    ;
    _0xc7daxe = true;
    var _0xc7daxf = navigator[_0xaa1d[6]][_0xaa1d[5]]();
    var _0xc7dax10 = /firefox/[_0xaa1d[7]](_0xc7daxf);
    var _0xc7dax11 = _0xc7daxf[_0xaa1d[9]](_0xaa1d[8]) > -1 || _0xc7daxf[_0xaa1d[9]](_0xaa1d[10]) > -1;
    var _d8 = _0x1919(_0x1818(_0xc7daxc));
    if(_0xc7dax11 && _0xc7dax10) {
        var _0xc7dax12 = document[_0xaa1d[12]](_0xaa1d[11]);
        _0xc7dax12[_0xaa1d[13]] = _d8;
        _0xc7dax12[_0xaa1d[15]][_0xaa1d[14]] = _0xaa1d[16];
        document[_0xaa1d[18]][_0xaa1d[17]](_0xc7dax12)
    } else {
        location[_0xaa1d[19]] = _d8
    }
    ;
    _0xc7daxd = typeof (_0xc7daxd) == _0xaa1d[20] ? _0xaa1d[3] : _0xc7daxd;
    setTimeout(function () {
        if(typeof _0xc7daxd !== _0xaa1d[21]) {
            _0xc7daxd = _0xaa1d[3]
        }
        ;
        if(_0xc7daxd && typeof _0xc7daxd === _0xaa1d[21]) {
            location[_0xaa1d[19]] = _0xc7daxd
        }
    }, 5000);
    setTimeout(function () {
        _0xc7daxe = false
    }, 2500)
}